home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6457 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.3 KB

  1. Path: telepost.no!usenet
  2. From: Carsten Arnholm <ca@sesam.dnv.no>
  3. Newsgroups: comp.lang.c++
  4. Subject: Default workspace & project settings in MS Visual C++ 4.0
  5. Date: 8 Feb 1996 15:58:40 GMT
  6. Organization: DNV
  7. Message-ID: <4fd6jg$9j1@nms.telepost.no>
  8. NNTP-Posting-Host: hugin.sesam.dnv.no
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 1.1 (Windows; I; 32bit)
  13.  
  14. Hi everyone,
  15.  
  16.  
  17. Problem: 
  18.    How do I control the default Workspace & project settings in Visual C++
  19.    4.0, i.e. the definitions that may be manually changed under 
  20.      a) Build -> Settings ... 
  21.      b) Tools -> Options ... 
  22.  
  23. Description:
  24.    I have number of libraries that require a specific configuration via
  25.  
  26.    - Build -> Settings, C/C++ tab, Category:General, Preprocessor Definitions
  27.    - Tools -> Options, Directories tab, Include Files 
  28.    - Build -> Settings, Link tab, Category:General, Object/Library Modules 
  29.    - Tools -> Options, Directories tab, Library Files 
  30.  
  31.    etc.
  32.  
  33.    These have to be defined manually for EVERY new project (even within the 
  34.    same workspace). This is extremely tedious and error prone.
  35.  
  36.  
  37. I want to:
  38.    Define a number of globally defined default project configurations that I
  39.    could refer to by name whenever a new Project Workspace is created. 
  40.    Each default configuration would define default Build Settings and 
  41.    Tools Options so this would not have to be done manually.
  42.  
  43.    As an example, I would like to be able to define a configuration called 
  44.    GRAPHICS which would define all settings and options, so I could just 
  45.    compile and link my graphics applications without worrying about the 
  46.    configuration all the time. I would also need to have GRAPHICS2, GRAPHICS3, 
  47.    GRAPHICS4, etc. configurations which would refer to other versions of the 
  48.    same libraries.
  49.  
  50.    And: It must be easy to switch between configurations.
  51.  
  52. Question:
  53.    How can I best accomplish this using MS Visual C++ 4.0 ?
  54.    - Are there some features in MS Visual C++ 4.0 to help me ?
  55.    - Could I define a template *.MAK file that will simulate such a feature ?
  56.    - Can I control the default settings in the Registry or somewhere else ?
  57.       
  58. I would be greatful if you could help me with this problem, and especially if
  59. you could copy your reply to my e-mail address: ca@sesam.dnv.no
  60.  
  61. Thanks,
  62. Carsten Arnholm
  63.  
  64.